<?php

/**
 * Api Model 类
 * @author: 喵了个咪  <wenzhenxi@vip.qq.com> 2015-07-23
 */
class Model_ApiMenu extends PhalApi_Model_NotORM {

    protected function getTableName($id) {

        return 'api_menu';
    }

    public function getApiIdByMenuId($ApiIdList) {

        return $this->getORM()->select('mId')->where('apiId', $ApiIdList)->fetchAll();
    }
}
